﻿<%@ Page Title="零采购药品统计" Language="C#" MasterPageFile="~/Master/MasterPage.master"
	AutoEventWireup="True" CodeBehind="UnTradeProcureCatalog.aspx.cs" Inherits="TotalDrugs_UnTradeProcureCatalog" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
	<div id="tabcontent2">
		<asp:Panel ID="pnlQuery" runat="server">
			<table class="querylist">
				<tr>
					<td>
						<table class="querylist">
							<tr>
								<td align="right">
									通用名：
								</td>
								<td align="left">
									<asp:TextBox ID="txtProductName" runat="server"></asp:TextBox>
								</td>
								<td align="right">
									剂型：
								</td>
								<td align="left">
									<asp:TextBox ID="txtMedicineModel" runat="server"></asp:TextBox>
								</td>
								<td align="right">
									规格：
								</td>
								<td align="left">
									<asp:TextBox ID="txtOutlookc" runat="server"></asp:TextBox>
								</td>
							</tr>
							<tr>
								<td align="right">
									生产企业：
								</td>
								<td align="left">
									<asp:TextBox ID="txtCompanyName_SC" runat="server"></asp:TextBox>
								</td>
								<td align="right">
									中标企业：
								</td>
								<td align="left">
									<asp:TextBox ID="txtCompanyName_ZB" runat="server"></asp:TextBox>
								</td>
								<td align="right">
									<asp:Label ID="labSortSource" runat="server" Text="采购类型："></asp:Label>
								</td>
								<td align="left">
									<asp:DropDownList ID="ddlSortSource" runat="server">
										<asp:ListItem Selected="True" Value="">全部</asp:ListItem>
										<asp:ListItem Value="0">基本药物</asp:ListItem>
										<asp:ListItem Value="1">非基本药物</asp:ListItem>
										<asp:ListItem Value="3">备案药品</asp:ListItem>
									</asp:DropDownList>
								</td>
							</tr>
						</table>
					</td>
					<td>
						<asp:Button ID="btnQuery" runat="server" Text="查 询" OnClick="btnQuery_Click" CssClass="btn" />
					</td>
				</tr>
			</table>
		</asp:Panel>
	</div>
	<asp:GridView ID="gvwInfo" runat="server" CssClass="mainlist" EmptyDataText="暂无符合条件的数据！"
		AutoGenerateColumns="false" EnableViewState="true">
		<Columns>
			<asp:TemplateField HeaderText="序号">
				<ItemTemplate>
					<%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
				<HeaderStyle Width="30px" />
			</asp:TemplateField>
			<asp:BoundField DataField="ProcureCatalogID" HeaderText="流水号" />
			<asp:BoundField DataField="ProductName" HeaderText="通用名" />
			<asp:BoundField DataField="MedicineModelName" HeaderText="剂型" />
			<asp:BoundField DataField="Outlookc" HeaderText="规格" />
			<asp:BoundField DataField="Factor" HeaderText="包装" />
			<%--<asp:BoundField DataField="QualityLevel" HeaderText="质量层次" />--%>
			<%--            <asp:BoundField DataField="Pack" HeaderText="包装" />--%>
			<asp:BoundField DataField="ProcurePrice" HeaderText="中标价" DataFormatString="{0:N3}" />
			<asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
			<asp:BoundField DataField="CompanyName_TB" HeaderText="中标企业" />
			<asp:TemplateField HeaderText="采购类型">
				<ItemTemplate>
					<%# HZ.Supervise.Web.Function.FormatDrugSource( Eval("SortSource")) %>
				</ItemTemplate>
			</asp:TemplateField>
		</Columns>
	</asp:GridView>
	<div class="page">
		<webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
		</webdiyer:AspNetPager>
	</div>
	<%--    <asp:Button ID="btnExcel" runat="server" CssClass="btn" Text="导出数据"  
        onclick="btnExcel_Click" />--%>
	<hz:HzButton ID="btnExcel" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />
	<div class="listip">
		<ul>
			<li>说明:<span>可以点击相应按钮进入查看详细信息</span> </li>
		</ul>
	</div>
</asp:Content>
